[Unit]
Description=Process Monitoring and Control Daemon
Documentation=http://supervisord.org
After=network.target

[Service]
Type=forking
ExecStart={{ supervisor_bin_path }} -c {{ supervisor_config_path }}/supervisord.conf
ExecStop={{ supervisorctl_bin_path }} -c {{ supervisor_config_path }}/supervisord.conf $OPTIONS shutdown
ExecReload={{ supervisorctl_bin_path }} -c {{ supervisor_config_path }}/supervisord.conf $OPTIONS reload
KillMode=process
Restart=on-failure
RestartSec=50s

[Install]
WantedBy=multi-user.target